<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>

<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
<head>

	<title>添加回帖</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
</head>

<body>
	<h1>添加回帖</h1>
	<s:form action="huitie_addSave.do" method="post">
		<table border="1">
			<tr>
				<td>回帖内容：</td>
				<td>
					<s:hidden name="huiTie.mainTie.mid"></s:hidden>
					<s:textfield name="huiTie.hcontent"></s:textfield>
				</td>
			</tr>
			<tr>
				<td>回帖人：</td>
				<td>
					<s:textfield name="huiTie.TUser.userid" readonly="true" value="%{#attr.User.userid}"></s:textfield>
				</td>
			</tr>
			<tr>
				<td colspan="1">
					<a href="${pageContext.request.contextPath}/maintie_view.do?mainTie.mid=<s:property value="huiTie.mainTie.mid"/>">返回</a>
				</td>
				<td colspan="1">
					<s:submit name="tj" value="提交"></s:submit>
				</td>
			</tr>
		</table>
	</s:form>
</body>
</html>
